home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Utilities Professional 1-1500
/
Utilities Professional 1-1500 (1994)(WPD)[!].iso
/
12511500
/
var1481.dms
/
var1481.adf
/
Scripts
/
Script Notes
< prev
next >
Wrap
Text File
|
1994-07-07
|
1KB
|
40 lines
Notes about the scripts...
Double clicking on scripts with included files
will causes errors in parsing the scripts. This is not
a problem with Magic Camera, but rather a problem in the
way that the included files were referenced. They are
typically included with
include "scripts/filename"
which indicates that MC must have been executed from the
parent directory of the directory that contains the
included file. There are two solutions:
1. Edit the script file so that the include statement
reads:
include "filename"
2. Run MC by double-clicking on the MC icon (rather than
the script icon) and using the options window to specify
the script file.
A solution which allows the included file to be reference
no matter how MC is started is to use an absolue pathname,
i.e. if the scripts are in the directory MC/Scripts on the
Work: device...
include "Work:MC/Scripts/filename"
The best solution is to create a logical device
(from the shell)...
assign MCScripts: Work:MC/Scripts
and use
include "MCScripts:filename"